// 订单状态
export const saleStatu = [
	{ title: '全部',	value: null	},
	{ title: '已取消',	value: -1},
	{	title: '待支付',	value: 0 },
	{ title: '已完成',	value: 9},
]

// 匹配状态title
export function filterStatus(status, list) {
	const vm = this
	const item = list.filter(t => t.value === status)
	if (item.length) {
		return item[0].title
	}
}